alert('save:write/read:\n' + JSON.stringify(byFullPath, null, 2) + '\n' + JSON.stringify(byFullPath1, null, 2)); while (el && !el._node) { var fullPath = node.fullPath;
if (this._activeDocPath === fullPath)
var oldDoc = this._docCache[this._activeDocPath];
while (this.mainContent.children.length) { this.mainContent.removeChild(this.mainContent.children[this.mainContent.children.length - 1]);
this._docCache[fullPath] ||
(this._docCache[fullPath] = docs.types.load({ read: (propertyNames: string[]) => this._read(fullPath, propertyNames),
write: (byProp) => this._write(fullPath, byProp)
elem.style.width = '100%';
elem.style.height = '100%';
this.mainContent.appendChild(elem);
private _read(fullPath: string, propertyNames: string[]): { [propertyName: string]: string; } { var response = this._fileTree.access.read([fullPath]);
var fileProps = response[fullPath];
private _write(fullPath: string, byProp: { [propertyName: string]: string; }) { var byFullPath: storage.PropertiesByFullPath = {}; byFullPath[fullPath] = byProp;
this._fileTree.access.update(byFullPath, now);
this._access.update(byFullPath, now, () => {